package com.hhsjdesign.dynamicui.core.property.widget;

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetProperty
import com.hhsjdesign.dynamicui.core.widgetdata.WidgetTypeConst
import org.json.JSONObject

//横向网格翻页
@ADynamicUI
@AWidgetProperty(WidgetTypeConst.BANNER_GRID)
class BannerGWidgetProperty : BannerSWidgetProperty {
    //网格的行列
    var rowNumber: Int = 1;
    var columnNumber: Int = 1;

    constructor(jo: JSONObject) : super(jo) {
        rowNumber = jo.optInt("rowNumber")
        columnNumber = jo.optInt("columnNumber")
    }

}
